import request from "./request"

export const findByStaffId = staffId => {
  return request({
    url:'/chatroom/find_by_staffid',
    method:"post",
    data:{
      staffId
    }
  })
}

export const updateContent = (id,content)=>{
  return request({
    url:"/chatroom/update_content",
    method:"post",
    data:{
      id,
      content
    }
  })
}